package com.kaishengit.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import com.kaishengit.dao.ProvinceDao;
import com.kaishengit.pojo.Province;
@Service
@Repository
public class ProvinceService {

	private ProvinceDao proviceDao;
	
	@Autowired
	public void setProviceDao(ProvinceDao proviceDao) {
		this.proviceDao = proviceDao;
	}
	public List<Province> findAll(){
		return proviceDao.findAll();
		
	}
	
	
}
